package com.ntl.webcore;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

/**
 * 启动程序
 * 
 */
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
//@ComponentScan(basePackages = {"com.ntl","com.xxx"}) NTLApplication默认是扫描这个包下面的所有注解
public class NTLApplication
{
    public static void main(String[] args)
    {
        // System.setProperty("spring.devtools.restart.enabled", "false");
        SpringApplication.run(NTLApplication.class, args);
        System.out.println("NTL-WebCore 启动成功!");
    }
}